package ca.skygazer.client;

import java.util.List;
import java.util.Vector;

import ca.skygazer.shared.account.SgUser;
import ca.skygazer.shared.coords.AzAltCoord;
import ca.skygazer.shared.coords.LatLonCoord;
import ca.skygazer.shared.coords.RaDecCoord;
import ca.skygazer.shared.coords.XYCoord;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface SgUserServiceAsync {
	void checkLogin(AsyncCallback<Boolean> callback) throws IllegalArgumentException;
	void getUser(AsyncCallback<SgUser> callback) throws IllegalArgumentException;
	void updateUser(SgUser user, AsyncCallback<String> callback) throws IllegalArgumentException;
	void getLoginUrl(String homeUrl, AsyncCallback<String> callback) throws IllegalArgumentException;
	void getLogoutUrl(String homeUrl, AsyncCallback<String> callback) throws IllegalArgumentException;
	void dummyService(AzAltCoord arg1,LatLonCoord arg2,RaDecCoord arg3,XYCoord arg4, Vector<LatLonCoord> vector, List<LatLonCoord> list,AsyncCallback<String> callback) throws IllegalArgumentException;
}
